package cn.xuguowen.user.designPatten.template.easy3;

/**
 * ClassName: PureSoyaMilk
 * Package: cn.xuguowen.user.designPatten.template.easy3
 * Description:
 * 纯豆浆：不需要加配料的，借助钩子方法实现
 * @Author 徐国文
 * @Create 2023/4/24 23:20
 * @Version 1.0
 */
public class PureSoyaMilk extends SoyaMilk {
    @Override
    public void addCondiments() {
        // 空实现：不需要加配料
    }

    @Override
    public boolean isAddCondiments() {
        return false;
    }
}
